package com.youkeyi.ddy.cloud.common.api.basic.crm.order;

import com.youkeyi.ddy.cloud.common.api.basic.crm.order.dto.CrmCustomerVaccineOrderListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.crm.order.param.CrmCustomerVaccineOrderCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.order.param.CrmCustomerVaccineOrderDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.order.param.CrmCustomerVaccineOrderQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.order.param.CrmCustomerVaccineOrderUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * CrmCustomerOrderCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/3/1 10:54 AM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/crm/customer/vaccine/order/fallback")
public class CrmCustomerVaccineOrderCloudServiceFallback implements CrmCustomerVaccineOrderCloudService {

    @Override
    public CrmCustomerVaccineOrderListCloudDto query(CrmCustomerVaccineOrderQueryCloudParam param) {
        return new CrmCustomerVaccineOrderListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(CrmCustomerVaccineOrderCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(CrmCustomerVaccineOrderUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(CrmCustomerVaccineOrderDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
